package jnpf.model.ragFlow.file;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Map;

@Data
@ApiModel("文档信息")
public class Document {
    @ApiModelProperty("分块数量")
    private Integer chunkCount;

    @ApiModelProperty("创建日期")
    private String createDate;

    @ApiModelProperty("创建时间戳")
    private Long createTime;

    @ApiModelProperty("创建者ID")
    private String createdBy;

    @ApiModelProperty("文档ID")
    private String id;

    @ApiModelProperty("知识库ID")
    private String knowledgebaseId;

    @ApiModelProperty("文档位置")
    private String location;

    @ApiModelProperty("文档名称")
    private String name;

    @ApiModelProperty("解析器配置")
    private Map<String, Object> parserConfig;

    @ApiModelProperty("分块方法")
    private String chunkMethod;

    @ApiModelProperty("处理开始时间")
    private String processBeginAt;

    @ApiModelProperty("处理耗时")
    private Double processDuation;

    @ApiModelProperty("处理进度")
    private Double progress;

    @ApiModelProperty("进度消息")
    private String progressMsg;

    @ApiModelProperty("运行状态")
    private String run;

    @ApiModelProperty("文件大小")
    private Integer size;

    @ApiModelProperty("源类型")
    private String sourceType;

    @ApiModelProperty("状态")
    private String status;

    @ApiModelProperty("缩略图")
    private String thumbnail;

    @ApiModelProperty("token数量")
    private Integer tokenCount;

    @ApiModelProperty("文档类型")
    private String type;

    @ApiModelProperty("更新日期")
    private String updateDate;

    @ApiModelProperty("更新时间戳")
    private Long updateTime;
}
